package com.fourth.shopping.dao;

import com.fourth.entity.Administrator;
import com.fourth.shopping.dto.AdminUserTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdministratorMapper {

    Administrator login(@Param("username") String username,@Param("password") String password);

    List<AdminUserTable> getAllAdmin();
}